<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php global $_G;if(isset($_G['title']))echo $_G['title'],' - ';if($_G['settings']['subtitle'])echo $_G['settings']['subtitle'],' - '; echo $_G['settings']['sitename']?></title>
<meta name="keywords" content="<?php if(isset($_G['keywords']))echo $_G['keywords']; else echo $_G['settings']['keywords'];?>"/>
<meta name="description" content="<?php if(isset($_G['description']))echo $_G['description']; else echo $_G['settings']['description'];?>"/>
<meta name="author" content="xk41czh" />
<base href="{BASE_URL}" />
<script type="text/javascript">
var COOKIE_PRE='<?php echo COOKIE_PRE;?>';
var COOKIE_DOMAIN='<?php echo COOKIE_DOMAIN;?>';
var COOKIE_PATH='<?php echo COOKIE_PATH;?>';
</script>
<?php echo get_styles();?>
<?php echo get_scripts(); ?>
</head>

<body>
<div class="nav" id="nav">
  <div class="navtop">
    {php $navs=get_nav(1,12);}
    <ul class="navul">
    {loop $navs['nvs'] $n}
    <li onmouseover="$(this).children('.subnav').show();" onmouseout="$(this).children('.subnav').hide();">
     <a href="{$n['url']}" {if $n['target']}target="_blank"{/if} class="{if false}this{/if} {if $n['highlight']}highlight{/if}">{$n['name']}</a>
      <span></span>
      {if $navs['subs'][$n['id']]}
      <ul class="subnav">
      {loop $navs['subs'][$n['id']] $n}
      <li><a href="{$n['url']}" {if $n['target']}target="_blank"{/if} class="{if false}this{/if} {if $n['highlight']}highlight{/if}">{$n['name']}</a></li>
      {/loop}
      </ul>
      {/if}
      </li>
     {/loop}
     </ul>
  </div>
</div>
<!--/Nav-->